﻿using HeadFirst._02.Observer.Observer.Implementations;
using HeadFirst._02.Observer.Observer.Interface;
using HeadFirst._02.Observer.Subjects.Implementations;
using HeadFirst._02.Observer.Subjects.Interfaces;
using System;

namespace HeadFirst._02.Observer
{
    class Program
    {
        static void Main(string[] args)
        {
            WeatherData sub = new WeatherData();
            IObserverable currentTemp = new CurrentConditionsDisplay(sub);
            while (true) 
            {
                Console.ReadLine();
            sub.MeasurementsChanged();
            }   
        }
    }
}
